# YouPlay Player
YouPlay Player is a HTML5 video player based on Video.js which looks similar to YouTube. Forked from Hola Spark.

## Features
- Open source project under active development
- Supports video and audio in separate files (like YouTube does for HD)
- All the features of the original video.js
  - Custom branding (no watermark)
  - HTML/CSS skin system
  - Plugin support
  - Multi platform (desktop and mobile devices)
  - Player API

## Quick start
To start using YouPlay Player, follow these steps:

1. Download the latest yp-player.js from https://notabug.org/youplay/yp-player/releases

3. Add this script to your document's `<head>` as follows:

```html
<script src="./yp-player.js"></script>
```

4. Add a `<video>` tag on your page:

```html
<video class="video-js vjs-default-skin" poster="./my-preview-image.jpg" width="640" height="360" controls>
<source src="./my-video.mp4" type="video/mp4">
</video>
```

5. Initialize player:

```html
<script>
window.yp_player();
</script>
```

6. Done!

## Documentation
We will soon create wiki pages with more details about how you can use YouPlay Player.

## License
YouPlay Player is licensed under the ISC License. [View the license file](LICENSE)  
Forked from Spark Player - Copyright 2017 Hola Networks ltd

## Credits
- [hola/hola_player](https://github.com/hola/hola_player)
- [videojs/video.js](https://github.com/videojs/video.js)
